﻿<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="LACustomerDetailsEdit.aspx.vb" Inherits="ccapps.LACustomerDetailsEdit" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>




    <style type="text/css">

       
        .newbutton {
            	border-style: none;
            border-color: inherit;
            border-width: 2px;
            font-family: Verdana, Arial; 
		    font-size : 10px; 
		    font-weight : bold;
		    color: #336699;
		    padding-top:8px;
		    text-decoration: none;
            width:auto;
            float:right;
            padding-left: 3px;
            padding-right: 3px;
            padding-bottom: 3px;
        }

        .text-alan { 
            padding-top:8px; 
            width:250px; 
            height:26px;
            

        }

 table { 
border-collapse:collapse;
}
.birincisutun {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	text-decoration: none;
	border: 1px solid  #FFF;
    padding-left: 10px;
    background-color: #e6e6fa; 
	width:350px;
}
.ikincisutun 
{
	BACKGROUND-COLOR: #f5f5f5;
	FONT-FAMILY: Arial, Helvetica;
	COLOR: #000000;
	FONT-SIZE: 12px;
	TEXT-DECORATION: none;
	width: 450px; 
border-bottom:1px solid #FFF;
padding-left:10px;
	

        
} 
.ucuncusutun 
{
	BACKGROUND-COLOR: #f5f5f5;
	FONT-FAMILY: Arial, Helvetica;
	COLOR: #000000;
	FONT-SIZE: 12px;
	TEXT-DECORATION: none;
	width: 100px; 
	border:none; 
	border-collapse:collapse;
border-bottom:1px solid #FFF;
padding-right:40px;
		
}
.prompt { BACKGROUND-COLOR: #a2547f; PADDING-LEFT: 10px; PADDING-RIGHT: 10px; padding-top:14px; FONT-FAMILY: Arial, Helvetica, sans-serif; HEIGHT: 30px; COLOR: #ffffff; FONT-SIZE: 12px; FONT-WEIGHT: bold; TEXT-DECORATION: none; }
		</style>

</head>
<body>
    <form id="form1" runat="server">
        <asp:Label ID="ErrorMessage" runat="server" Text=""></asp:Label>

        <table width="900">
            <tr class="prompt"> 
                <td colspan="4" style="color:white">MSISDN veya Customer Code ile arama yapılabilir. Arama sonunda müşteri bilgileri ekrana getirir
                        
                        ve bunlar üzerinden değişiklik yapılmasını sağlar.</td>
            </tr>
  <tr>
    <td class="birincisutun">Custcode  <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TB_SearchCustcode" ErrorMessage="CustCode  alanın doldurulması zorunludur" ValidationGroup="groupCustcode" Font-Size="Large">(*)</asp:RequiredFieldValidator></td>
    <td class="ikincisutun"><asp:TextBox ID="TB_SearchCustcode" runat="server"  CssClass="text-alan"></asp:TextBox></td>
    <td class="ucuncusutun"><span></span><asp:Button ID="btnCustcodeSearch" runat="server" CssClass="newbutton" Text="Getir" ValidationGroup="groupCustcode" /></td>
  </tr>
  <tr>
    <td class="birincisutun">MSISDN
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ErrorMessage="MSISDN Numara Formatı 5051112233 gibi olmalıdır" ControlToValidate="TB_SearchMSISDN" ValidationExpression="^5[0-9]{9}" ValidationGroup="groupMSISDN" Font-Size="Large">(*)</asp:RegularExpressionValidator>
                    &nbsp;<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TB_SearchMSISDN" ErrorMessage="MSISDN alanın doldurulması zorunludur" ValidationGroup="groupMSISDN" Font-Size="Large">(*)</asp:RequiredFieldValidator></td>
    <td class="ikincisutun">
                    
                    <asp:TextBox ID="TB_SearchMSISDN" runat="server" CssClass="text-alan"></asp:TextBox>
                    </td>
    <td class="ucuncusutun"><asp:Button ID="btnMSISDNSearch" runat="server" CssClass="newbutton" Text="Getir" ValidationGroup="groupMSISDN" />
                </td>
  </tr>
  <tr>
    <td class="birincisutun">Customer ID</td>
    <td class="ikincisutun">
                    <asp:Label ID="lblCustomerID" runat="server"></asp:Label>
                </td>
    <td class="ucuncusutun">&nbsp;</td>
  </tr>
  <tr class="birincisutun">
    <td colspan="3">
                    <asp:Button ID="btnGetInfo" runat="server" Width="100px" Text="Bilgileri Getir" CssClass="newbutton" />
                    <asp:Label ID="lblMernisStatus" runat="server" Visible="False"></asp:Label>
                </td>
  </tr>
</table>
        <asp:Label ID="Label1" runat="server"></asp:Label>

        <br />
        <table width="900" id="tblContactInfo" runat="server"  visible="false">
             <tr class="prompt"> 
                <td colspan="3" style="color:white">Firma Bilgileri</td>
            </tr>
  <tr>
    <td class="birincisutun">CustCode</td>
    <td class="ikincisutun">  <asp:TextBox ID="TB_CustCode" runat="server" CssClass="text-alan"></asp:TextBox></td>
    <td class="ucuncusutun">&nbsp;</td>
  </tr>
                <tr>
    <td class="birincisutun">Müşteri Tipi</td>
    <td class="ikincisutun">  <asp:DropDownList ID="DDL_CustomerType" runat="server" Width="250px">
                        <asp:ListItem Value="J">Juridical</asp:ListItem>
                        <asp:ListItem Value="P">Physical</asp:ListItem>
                    </asp:DropDownList>  </td>
    <td class="ucuncusutun"><asp:Button ID="btnCustomerType" runat="server" CssClass="newbutton" Text="Guncelle" /></td>
  </tr>
                <tr>
    <td class="birincisutun">Şirket Adı</td>
    <td class="ikincisutun">  <asp:TextBox ID="TB_CompanyName" runat="server" CssClass="text-alan"></asp:TextBox>  </td>
    <td class="ucuncusutun"></td>
  </tr>
                <tr>
    <td class="birincisutun">Vergi Dairesi</td>
    <td class="ikincisutun">  <asp:TextBox ID="TB_TaxOffice" runat="server" CssClass="text-alan"></asp:TextBox>  </td>
    <td class="ucuncusutun"><asp:Button ID="btnTaxOffice" runat="server" CssClass="newbutton" Text="Guncelle" /></td>
  </tr>
                <tr>
    <td class="birincisutun">Vergi Numarası</td>
    <td class="ikincisutun">  <asp:TextBox ID="TB_TaxNumber" runat="server" CssClass="text-alan"></asp:TextBox>  </td>
    <td class="ucuncusutun"><asp:Button ID="btnTaxNumber" runat="server" CssClass="newbutton" Text="Guncelle" /></td>
  </tr>
                <tr>
    <td class="birincisutun">Sektör</td>
    <td class="ikincisutun">  <asp:DropDownList ID="DDL_Sector" runat="server" Height="16px" Width="250px">
                    </asp:DropDownList>  </td>
    <td class="ucuncusutun"><asp:Button ID="btnSector" runat="server" CssClass="newbutton" Text="Guncelle" /></td>
  </tr>
                 <tr>
    <td class="birincisutun">Avea Çalışanı mı?</td>
    <td class="ikincisutun">  <asp:CheckBox ID="chckEmployeeOfYourCompany" runat="server" Text=" " />  </td>
    <td class="ucuncusutun"><asp:Button ID="btnEmployeeOfYourCompany" runat="server" CssClass="newbutton" Text="Guncelle" /></td>
  </tr>
                 <tr>
    <td class="birincisutun">Çalıştığı</td>
    <td class="ikincisutun">  <asp:TextBox ID="TB_Employer" runat="server" CssClass="text-alan"></asp:TextBox>  </td>
    <td class="ucuncusutun"> <asp:Button ID="btnEmployer" runat="server" CssClass="newbutton" Text="Guncelle" /></td>
  </tr>
            <tr class="prompt"> 
                <td colspan="3" style="color:white">Müşteri / Yetkili Bilgileri</td>
            </tr>
                 <tr>
    <td class="birincisutun">Yetkili Kişinin MSISDN</td>
    <td class="ikincisutun">  <asp:TextBox ID="TB_AuthorizedPersonMSISDN" runat="server" CssClass="text-alan"></asp:TextBox>  </td>
    <td class="ucuncusutun"><asp:Button ID="btnAuthorizedPersonMSISDN" runat="server" CssClass="newbutton" Text="Guncelle" /></td>
  </tr>
                 <tr>
    <td class="birincisutun">Yetkili Kişinin Adı</td>
    <td class="ikincisutun">  <asp:TextBox ID="TB_AuthorizedPersonName" runat="server" CssClass="text-alan"></asp:TextBox>  </td>
    <td class="ucuncusutun"></td>
  </tr>
                      <tr>
    <td class="birincisutun">Yetkili Kişinin Doğum Tarihi</td>
    <td class="ikincisutun">  <asp:TextBox ID="TB_AuthorizedPersonBirthdate" runat="server" CssClass="text-alan"></asp:TextBox>  </td>
    <td class="ucuncusutun"></td>
  </tr>
                      <tr>
    <td class="birincisutun">Yetkili Kişinin Baba Adı</td>
    <td class="ikincisutun">  <asp:TextBox ID="TB_AuthorizedPersonFatherName" runat="server" CssClass="text-alan"></asp:TextBox>  </td>
    <td class="ucuncusutun"></td>
  </tr>
                      <tr>
    <td class="birincisutun">TC No</td>
    <td class="ikincisutun">  <asp:TextBox ID="TB_TCNo" runat="server" CssClass="text-alan"></asp:TextBox>
        <br />
        <asp:Label ID="lblTcIdControlError" runat="server"></asp:Label>
                          </td>
    <td class="ucuncusutun"><asp:Button ID="btnIdentificationNo0" runat="server" CssClass="newbutton" Text="Doğrula" />
                          </td>
  </tr>
                      <tr>
    <td class="birincisutun">Uyruk</td>
    <td class="ikincisutun">  <asp:DropDownList ID="DDL_Nationality" runat="server" Width="250px">
                        
                    </asp:DropDownList>  </td>
    <td class="ucuncusutun"> <asp:Button ID="btnNationality" runat="server" CssClass="newbutton" Text="Guncelle" /></td>
  </tr>
                        <tr>
    <td class="birincisutun">Kimlik Tipi ve Numarası</td>
    <td class="ikincisutun">  <asp:DropDownList ID="DDL_IDTYPE" runat="server" Height="16px" Width="250px">
                        <asp:ListItem></asp:ListItem>

                    </asp:DropDownList>   
        <br />
        <asp:TextBox ID="TB_IdentificationNo" runat="server" CssClass="text-alan"></asp:TextBox>  </td>
    <td class="ucuncusutun">
        <asp:Button ID="btnIdentificationNo" runat="server" CssClass="newbutton" Text="Guncelle" /></td>
  </tr>
                        <tr>
    <td class="birincisutun">Müşteri Ünvanı</td>
    <td class="ikincisutun">  <asp:TextBox ID="TB_NAME" runat="server" CssClass="text-alan"></asp:TextBox>  </td>
    <td class="ucuncusutun">
        <asp:Button ID="btnCustomerName" runat="server" CssClass="newbutton" Text="Guncelle" Height="22px" /></td>
  </tr>
                        <tr>
    <td class="birincisutun">Müşteri Adı</td>
    <td class="ikincisutun">  <asp:TextBox ID="TB_FNAME" runat="server" CssClass="text-alan"></asp:TextBox>  </td>
    <td class="ucuncusutun"></td>
  </tr>
                          <tr>
    <td class="birincisutun">Müşteri Soyadı</td>
    <td class="ikincisutun">  <asp:TextBox ID="TB_LNAME" runat="server" CssClass="text-alan"></asp:TextBox>  </td>
    <td class="ucuncusutun"></td>
  </tr>
                          <tr>
    <td class="birincisutun">Müşteri Baba Adı</td>
    <td class="ikincisutun">  <asp:TextBox ID="TB_FatherName" runat="server" CssClass="text-alan"></asp:TextBox>  </td>
    <td class="ucuncusutun"></td>
  </tr>
                          <tr>
    <td class="birincisutun">Müşteri Anne Adı</td>
    <td class="ikincisutun">  <asp:TextBox ID="TB_MotherName" runat="server" CssClass="text-alan"></asp:TextBox>  </td>
    <td class="ucuncusutun"></td>
  </tr>
                          <tr>
    <td class="birincisutun">Müşteri Anne Kızlık Soyadı</td>
    <td class="ikincisutun">  <asp:TextBox ID="TB_MotherMaidenName" runat="server" CssClass="text-alan"></asp:TextBox>  </td>
    <td class="ucuncusutun"></td>
  </tr>
                          <tr>
    <td class="birincisutun">Nüfusa Kayıtlı Olduğu İl</td>
    <td class="ikincisutun">  <asp:TextBox ID="TB_RegistiredProvince" runat="server" CssClass="text-alan"></asp:TextBox>  </td>
    <td class="ucuncusutun"><asp:Button ID="btnRegistiredProvince" runat="server" CssClass="newbutton" Text="Guncelle" /></td>
  </tr> <tr>
    <td class="birincisutun">Nüfusa Kayıtlı Olduğu İlçe</td>
    <td class="ikincisutun">  <asp:TextBox ID="TB_RegistiredDistrict" runat="server" CssClass="text-alan"></asp:TextBox>  </td>
    <td class="ucuncusutun"><asp:Button ID="btnRegistiredDistrict" runat="server" CssClass="newbutton" Text="Guncelle" /></td>
  </tr>
             <tr>
    <td class="birincisutun">Doğum İli</td>
    <td class="ikincisutun">  <asp:TextBox ID="TB_BirthPlaceProvince" runat="server" CssClass="text-alan"></asp:TextBox>  </td>
    <td class="ucuncusutun"><asp:Button ID="btnBirthPlaceProvince" runat="server" CssClass="newbutton" Text="Guncelle" /></td>
  </tr>
             <tr>
    <td class="birincisutun">Doğum İlçesi </td>
    <td class="ikincisutun">  <asp:TextBox ID="TB_BirthPlaceDistrict" runat="server" CssClass="text-alan"></asp:TextBox>  </td>
    <td class="ucuncusutun"> <asp:Button ID="btnBirthPlaceDistrict" runat="server" CssClass="newbutton" Text="Guncelle" /></td>
  </tr>
             <tr>
    <td class="birincisutun">Sürücü Belgesi Numarası</td>
    <td class="ikincisutun">  <asp:TextBox ID="TB_DriverLicenceNo" runat="server" CssClass="text-alan"></asp:TextBox>  </td>
    <td class="ucuncusutun"> <asp:Button ID="btnDriverLicenceNo" runat="server" CssClass="newbutton" Text="Guncelle" /></td>
  </tr>
             <tr class="prompt"> 
                <td colspan="3" style="color:white">İletişim Bilgileri</td>
            </tr>
             <tr>
    <td class="birincisutun">Yetkili Kişinin E-Mail</td>
    <td class="ikincisutun">  <asp:TextBox ID="TB_AuthorizedPersonEmail" runat="server" CssClass="text-alan"></asp:TextBox>  </td>
    <td class="ucuncusutun"><asp:Button ID="btnAuthorizedPersonEmail" runat="server" CssClass="newbutton" Text="Guncelle" /></td>
  </tr>
             <tr>
    <td class="birincisutun">Adres 1</td>
    <td class="ikincisutun">  <asp:TextBox ID="TB_ADR1" runat="server" CssClass="text-alan"></asp:TextBox>  </td>
    <td class="ucuncusutun"><asp:Button ID="btnADR1" runat="server" CssClass="newbutton" Text="Guncelle" /></td>
  </tr>
             <tr>
    <td class="birincisutun">Adres 2</td>
    <td class="ikincisutun">  <asp:TextBox ID="TB_ADR2" runat="server" CssClass="text-alan"></asp:TextBox>  </td>
    <td class="ucuncusutun"><asp:Button ID="btnADR2" runat="server" CssClass="newbutton" Text="Guncelle" /></td>
  </tr>
             <tr>
    <td class="birincisutun">Adres 3</td>
    <td class="ikincisutun">  <asp:TextBox ID="TB_ADR3" runat="server" CssClass="text-alan"></asp:TextBox>  </td>
    <td class="ucuncusutun"><asp:Button ID="btnADR3" runat="server" CssClass="newbutton" Text="Guncelle" /></td>
  </tr>
                  <tr>
    <td class="birincisutun">Sokak</td>
    <td class="ikincisutun">  <asp:TextBox ID="TB_STREET" runat="server" CssClass="text-alan"></asp:TextBox>  </td>
    <td class="ucuncusutun"><asp:Button ID="btnCustomerStreet" runat="server" CssClass="newbutton" Text="Guncelle" /></td>
  </tr>
                  <tr>
    <td class="birincisutun">Sokak No</td>
    <td class="ikincisutun">  <asp:TextBox ID="TB_STREETNO" runat="server" CssClass="text-alan"></asp:TextBox>  </td>
    <td class="ucuncusutun"><asp:Button ID="btnCustomerStreetNo" runat="server" CssClass="newbutton" Text="Guncelle" /></td>
  </tr>
                  <tr>
    <td class="birincisutun">Posta Kodu </td>
    <td class="ikincisutun">  <asp:TextBox ID="TB_ZIP" runat="server" CssClass="text-alan"></asp:TextBox>  </td>
    <td class="ucuncusutun"><asp:Button ID="btnZIP" runat="server" CssClass="newbutton" Text="Guncelle" /></td>
  </tr>
                  <tr>
    <td class="birincisutun">İl</td>
    <td class="ikincisutun">  <asp:TextBox ID="TB_CITY" runat="server" CssClass="text-alan"></asp:TextBox>  </td>
    <td class="ucuncusutun"><asp:Button ID="bntCity" runat="server" CssClass="newbutton" Text="Guncelle" /></td>
  </tr>
              <tr>
    <td class="birincisutun">Müşteri E-Mail</td>
    <td class="ikincisutun">  <asp:TextBox ID="TB_Email" runat="server" CssClass="text-alan"></asp:TextBox>  </td>
    <td class="ucuncusutun"><asp:Button ID="btnEmail" runat="server" CssClass="newbutton" Text="Guncelle" /></td>
  </tr>
              <tr>
    <td class="birincisutun">Dahili Numara 1</td>
    <td class="ikincisutun">  <asp:TextBox ID="TB_ContactPhoneArea1" runat="server" Width="40px" Height="26px"></asp:TextBox>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <asp:TextBox ID="TB_ContactPhone1" runat="server" Width="179px" Height="26px"></asp:TextBox>  </td>
    <td class="ucuncusutun"> <asp:Button ID="btnContactPhone1" runat="server" CssClass="newbutton" Text="Guncelle" /></td>
  </tr>
              <tr>
    <td class="birincisutun">Dahili Numara 2</td>
    <td class="ikincisutun">  <asp:TextBox ID="TB_ContactPhoneArea2" runat="server" Width="40px" Height="26px"></asp:TextBox>  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;   <asp:TextBox ID="TB_ContactPhone2" runat="server" Width="179px" Height="26px"></asp:TextBox>  </td>
    <td class="ucuncusutun"><asp:Button ID="btnTB_ContactPhone2" runat="server" CssClass="newbutton" Text="Guncelle" /></td>
  </tr>
              <tr>
    <td class="birincisutun">Fax No</td>
    <td class="ikincisutun">  <asp:TextBox ID="TB_FaxNoArea" runat="server" Width="40px" Height="26px"></asp:TextBox> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  <asp:TextBox ID="TB_FaxNo" runat="server" Width="179px" Height="26px"></asp:TextBox>  </td>
    <td class="ucuncusutun"> <asp:Button ID="btnFaxNo" runat="server" CssClass="newbutton" Text="Guncelle" /></td>
  </tr>
                 <tr>
    <td class="birincisutun">SMS No</td>
    <td class="ikincisutun">  <asp:TextBox ID="TB_SMSNo" runat="server" CssClass="text-alan"></asp:TextBox>  </td>
    <td class="ucuncusutun"> <asp:Button ID="btnSMSNo" runat="server" CssClass="newbutton" Text="Guncelle" /></td>
  </tr>
            <tr class="prompt"> 
                <td colspan="3" style="color:white">Müşteri / Hat Bilgileri</td>
            </tr>
                 <tr>
    <td class="birincisutun">Müşteri Durumu</td>
    <td class="ikincisutun">  <asp:TextBox ID="TB_Status" runat="server" CssClass="text-alan"></asp:TextBox>  </td>
    <td class="ucuncusutun"></td>
  </tr>
                 <tr>
    <td class="birincisutun">Bayi ID</td>
    <td class="ikincisutun">  <asp:TextBox ID="TB_DealerID" runat="server" CssClass="text-alan"></asp:TextBox>  </td>
    <td class="ucuncusutun"></td>
  </tr>
                 <tr>
    <td class="birincisutun">Tarife</td>
    <td class="ikincisutun">  <asp:TextBox ID="TB_Tariff" runat="server" CssClass="text-alan"></asp:TextBox>  </td>
    <td class="ucuncusutun"></td>
  </tr>
              <tr>
    <td class="birincisutun">Müşteri Grubu</td>
    <td class="ikincisutun">  <asp:TextBox ID="TB_PriceGroup" runat="server" CssClass="text-alan"></asp:TextBox>  </td>
    <td class="ucuncusutun"></td>
  </tr>
             <tr class="prompt"> 
                <td colspan="3" style="color:white">Müşteri Tercihleri</td>
            </tr>
             <tr>
    <td class="birincisutun">Deactivate Overdiscounting</td>
    <td class="ikincisutun">  <asp:CheckBox ID="chckDeactiveOverdiscounting" runat="server" Text="  " />  </td>
    <td class="ucuncusutun"> <asp:Button ID="btnDeactiveOverdiscounting" runat="server" CssClass="newbutton" Text="Guncelle" /></td>
  </tr>
             <tr>
    <td class="birincisutun">Limit Altı Fatura</td>
    <td class="ikincisutun">  <asp:CheckBox ID="chckLimitAltiFatura" runat="server" Text="  " />  </td>
    <td class="ucuncusutun"> <asp:Button ID="btnLimitAltiFatura" runat="server" CssClass="newbutton" Text="Guncelle" /></td>
  </tr>
                    <tr>
    <td class="birincisutun">Veri Paylaşımı </td>
    <td class="ikincisutun">  <asp:CheckBox ID="chckDataShare" runat="server" Text=" " />  </td>
    <td class="ucuncusutun"> <asp:Button ID="btnDataShare" runat="server" CssClass="newbutton" Text="Guncelle" /></td>
  </tr>
                    <tr>
    <td class="birincisutun">Fatura Basılması</td>
    <td class="ikincisutun">  <asp:CheckBox ID="chckPrintInvoice" runat="server" Text=" " />  </td>
    <td class="ucuncusutun"><asp:Button ID="btnLaPrintInvoice" runat="server" CssClass="newbutton" Text="Guncelle" /></td>
  </tr>
                    <tr>
    <td class="birincisutun">Language</td>
    <td class="ikincisutun">  <asp:DropDownList ID="DDL_Language" runat="server" Width="250px">
                        
                        
                    </asp:DropDownList>  </td>
    <td class="ucuncusutun"> <asp:Button ID="btnLanguage" runat="server" CssClass="newbutton" Text="Guncelle" /></td>
  </tr>
                  
</table>    
    </form>
</body>
</html>